﻿@using DocProcessingWorkflow.Models.MediaStock
@model IEnumerable<MediaStockViewModel>

<table class="table nested">
  <thead>
    <tr>
      <th class="col-md-1">Station Number</th>
      <th class="col-md-1">Code</th>
      <th class="col-md-2">Description</th>
      <th class="col-md-1">Weight</th>
      <th class="col-md-1">Size X</th>
      <th class="col-md-1">Size Y</th>
      <th class="col-md-1">Facing</th>
      <th class="col-md-1">Colour</th>
    </tr>
  </thead>
@if (Model.Any())
{
      foreach (MediaStockViewModel mediaStock in Model)
      {
        <tr>
          <td>@mediaStock.StationNumber</td>
          <td>@mediaStock.Code</td>
          <td>@mediaStock.Description</td>
          <td>@mediaStock.Weight</td>
          <td>@mediaStock.SizeX</td>
          <td>@mediaStock.SizeY</td>
          <td>@mediaStock.Facing</td>
          <td>@mediaStock.Colour</td>
        </tr>
      }
  }
  else
  {
    <td>No items</td>
  }
</table>